export type RoleData = {
  id: number
  name: string
  status: number
  permission: string
  [key: string]: any
}

export type RoleMenuData = {
  id: number
  pid?: number
  href?: string
  name: string
  icon?: string
  open?: boolean
  checked?: boolean
  checkedChildren?: number[]
  children?: RoleMenuData[]
}